<template>
<div>
    <div class="databox-header">艺恩数据</div>
    <comDataBoxNavBar v-on:navChooseID="navChooseID"></comDataBoxNavBar>
</div>
</template>
<script>
import DataBoxNavBar from "./DataBoxNavBar.vue";
export default {
  created() {
    console.log(this.$route);
  },
  components: {
    comDataBoxNavBar: DataBoxNavBar
  },
  data() {
    return {
      name: "艺恩数据"
    };
  },
  methods: {
    navChooseID(navChooseID) {
      console.log(navChooseID);
    }
  }
};
</script>
<style lang="less" scoped>
.databox-header {
  width: 100%;
  font-size: 34px;
  color: #333;
  height: 80px;
  line-height: 80px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
</style>
